package com.model.vo
{
	public class UserVO
	{
		[Bindable]
		public function UserVO(username:String=null,email:String=null,password:String=null)
		{
			if(username != null) this.username = username;
			if(email != null) this.email = email;
			if(password != null) this.password = password; 
		}
        public var username:String = '';
        public var email:String = '';
        public var password:String = '';
        
        public function get isValue():Boolean
        {
            return username != '' && password != '' && email != '';
        }
        public function get givenName():String
        {
            return this.username;
        }
	}
}